namespace SimpleSocket.Packets
{
    internal sealed class Packet
    {
        public readonly byte[] Payload;
        public int SendSize { get; set; }


        public Packet(byte[] payload)
        {
            Payload = payload;
        }

        public bool IsSent() => Payload.Length == SendSize;
    }
}